﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Wydatki.Setup.Praca
{
    public partial class FormLataPodatkowe : MyBaseSqlCeGridForm
    {
        public FormLataPodatkowe()
        {
            InitializeComponent();
        }
        protected override bool ValidateAll()
        {
            return base.ValidateAll() && 
                lataPodatkoweDataSet.STP_LATA_PODATKOWE.ValidateColUnique("STP_LP_ROK", "Rok powinien być unikalny");
        }

    }
}
